/**
 * 
 */
package com.acc.softmgr.business.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.acc.softmgr.business.dao.SysUserMapper;
import com.acc.softmgr.business.model.SysUser;
import com.acc.softmgr.business.model.SysUserExample;
import com.acc.softmgr.business.service.ISysUserService;

/**
 * 
 * @content
 * 
 * @date 2017年5月12日
 * 
 * @author OprCalf
 * 
 */
@Service
public class SysUserServiceImpl implements ISysUserService {

	@Autowired
	private SysUserMapper sysUser;

	@Override
	public long countByExample(SysUserExample example) {
		return sysUser.countByExample(example);
	}

	@Override
	public int deleteByExample(SysUserExample example) {
		return sysUser.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return sysUser.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(SysUser record) {
		return sysUser.insert(record);
	}

	@Override
	public int insertSelective(SysUser record) {
		return sysUser.insertSelective(record);
	}

	@Override
	public List<SysUser> selectByExample(SysUserExample example) {
		return sysUser.selectByExample(example);
	}

	@Override
	public SysUser selectByPrimaryKey(Integer id) {
		return sysUser.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(SysUser record, SysUserExample example) {
		return sysUser.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(SysUser record, SysUserExample example) {
		return sysUser.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(SysUser record) {
		return sysUser.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(SysUser record) {
		return sysUser.updateByPrimaryKey(record);
	}

}
